# s = 'welcome to beijing'
# 'to' in s
# true
# 'weimingze' in s
# false

# s = input("输入一个字符串")
# print(s[0])
# print(s[-1])
# l = len(s)
# if l % 2 == 1:
#      print('中间字符',s[int(l // 2)])
# km = flone(input'输入公里数')
# fee = 0
# if 0 < km <= 3:
#    fee = 13
# elif 3 < km <= 15:
#    fee = 13 +(km -3) * 2.3
# elif km > 15:
#    fee =13 + (km - 3) * 2.3 + (km - 15) * 2.3
#
# print('金额', fee, '元
# s =input('')
# f = float(input(''))
# d = int(input(''))
# print('+------------+')
# print('| %-10s |'  %  s)
# print('| %10.2f |' % f)
# print('| %010d |' % d )
# print('+------------+')
s = "/root/bin/abcd.sh"
# if s.startswith('/root/'):
#     print('在/root下')
# else:
#     print('不在/root下')
# if s.endswith('.sh') or s.endswith('.SH'):
#     print('是.sh文件')
#     pos = s.rindex('/')
#     print('文件名是:',s[pos+1:-3])
# else:
#     print('不是.sh文件')
# n = int(input('输入一个整数:'))
# i = 1
# while i <= n:
#     print('这是第', i, '行')
#     i +=1


# 2
j = 1
# while j <= 10:
#     i = 1
#     while i <= 20:
#         print(i, end=" ")
#         i += 1
#     else:
#         print()
#     j += 1
